<?php

namespace app\enum;

class ProviderContractEnum
{

    #合同状态
    const STATUS_REFUSE = -1;//审批驳回
    const STATUS_WAIT = 0;//等待审核
    const STATUS_CHECKED = 1;//审核通过
    const STATUS_FINISH = 2;//已结束


    #付款方式
    const PRE_PAY = 1;//预付款
    const MONTH_PAY = 2;//按月
    const GU_PAY = 3;//固定


    #运营付款方式
    const OPERA_PRE_PAY = 1;//预付款
    const OPERA_DIAN_PAY = 2;//垫付

    #合同状态
    const CONTRACT_STATUS = [
        -1 => '驳回',
        0 => '审核中',
        1 => '审核通过',
        // 2 => '结束',
        // 3 => '终止合同',
        4 => '未归档',
        5 => '已归档',
        6 => '已过期',
    ];

    #服务内容
    const CONTRACT_SERVICE = [
        1 => '效果广告',
        2 => '品牌广告',
        3 => '运营服务',
        4 => '创意服务',
        5 => '技术服务',
        6 => '行政服务',
        7 => '其他服务',
        8 => '主体间成本',
    ];
    const SERVICE_XG = 1;
    const SERVICE_PP = 2;
    const SERVICE_YY = 3;
    const SERVICE_CY = 4;
    const SERVICE_JS = 5;
    const SERVICE_XZ = 6;
    const SERVICE_QT = 7;
    const SERVICE_ZT = 8;


    #返利返现
    const FAN_ARRAY = [
        1 => '返货',
        2 => '返现'
    ];
    const FAN_LI = 1;
    const FAN_XIAN = 2;

    #结算方式
    const STATEMENT_TYPE = [
        1 => '按充值结算',
        2 => '按消耗结算'
    ];

    #广告支付方式
    const AD_PAY_TYPE = [
        1 => '预付',
        2 => '按月结算',
        3 => '固定账期'
    ];

    #运营支付方式
    const OPERA_PAY_TYPE = [
        1 => '预付',
        2 => '垫付',
    ];

    #是否归档collection_status
    const COLLECTION_STATUS = [
        1 => '已归档',
        0 => '未归档',
    ];
    #驳回理由
    const REJECT_REASON  = [
        1 => '金额有误',
        2 => '合同周期有误',
        3 => '合同性质有误',
        4 => '客户有误',
        5 => '其他',
    ];
}

